# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=mpv-mpris
pkgver=0.5
pkgrel=0
pkgdesc="MPRIS plugin for mpv"
url="https://github.com/hoyon/mpv-mpris"
arch="all"
license="MIT"
depends="mpv"
makedepends="glib-dev mpv-dev"
options="!check"  # no tests
source="$pkgname-$pkgver.tar.gz::https://github.com/hoyon/mpv-mpris/archive/$pkgver.tar.gz"

build() {
	make
}

package() {
	install -Dm 0644 mpris.so "$pkgdir"/usr/lib/mpv/mpris.so
}

sha512sums="9c28b4f3fdcd6bddf3824125f994807d7a31f8e7398178296dab9d4422d3cc71a0b798ae75fe68c890556c993fb04bf5d7ffa379676312840fdf219bf4a974f7  mpv-mpris-0.5.tar.gz"
